package com.liangsui.mss.dto;

import com.liangsui.mss.domain.SimpleUser;
import io.swagger.annotations.ApiModel;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Collection;
import java.util.List;

/**
 * @ClassName: SchedulingFormDto
 * @Description: 封装页面传过来修改的数据
 **/
@Data
@AllArgsConstructor
@NoArgsConstructor
@ApiModel(value = "com-liangsui-dto-SchedulingFormDto")
public class SchedulingFormDto implements Serializable {

	private SimpleUser simpleUser;

	private String beginDate;

	private List<SchedulingData> Data;

	@Data
	public static class SchedulingData implements Serializable {
		private Long userId;

		private Long deptId;

		private String subsectionType;//上   下   晚
		// 星期的值班值
		// 存放周一到周日的schedulingType的时间段是门诊还是急诊
		private Collection<String> schedulingType;
	}
}
